/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package com.wordpress.fareastdan.FEDTradeManagerIDE.FEDConnectionManager;

/**
 *
 * @author user
 */
public class FEDServer
{    
    public FEDServer()
    {
        count = index++;
    }
    public int getCount()
    {
        return count;
    }

    
    public String getServerName()
    {
        return serverName;
    }
    public String getServerLogonID()
    {
        return serverLogonID;
    }
    public String getServerAddress()
    {
        return serverAddress;
    }
    public int getServerPort()
    {
        return serverPort;
    }
    
    @Override
    public String toString()
    {
        StringBuffer nodeName = new StringBuffer(getServerName());
        nodeName.append( " - ");
        nodeName.append(getServerAddress());
        nodeName.append( ":");
        nodeName.append(getServerPort());
        
        return nodeName.toString();
    }
    
    static int index = 0;    
    int count;
    
    String serverName = "";
    String serverLogonID = "";
    String serverAddress = "";
    int serverPort = 0;
}
